xend: Make hotplug script timeouts configurable
authorKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 01:18:48 +0000 (02:18 +0100)
committerKeir Fraser <keir.fraser@citrix.com>
Tue, 19 May 2009 01:18:48 +0000 (02:18 +0100)
commit41af6f38d95ac1ec058488705c048539df92c125
tree94b36ee2c89a3939d3f9dcc5421841dc249fe46b
parent9125594e4e27944df656d99f5ba28e1923b6de18
xend: Make hotplug script timeouts configurable

In some configurations, when dom0 is busy with I/O, it may take
several minutes to complete all hotplug scripts required when a new
domain is being created. As device create timeout is set to 100
seconds, users get "hotplug scripts not working" error instead of a
new domain.

This patch makes both DEVICE_CREATE_TIMEOUT and DEVICE_DESTROY_TIMEOUT
configurable in xend-config.sxp to allow users to easily adapt hotplug
timeouts to their environment.

Signed-off-by: Jiri Denemark <jdenemar@redhat.com>
docs/man/xend-config.sxp.pod.5
tools/examples/xend-config.sxp
tools/python/xen/xend/XendOptions.py
tools/python/xen/xend/server/DevConstants.py